#!/bin/bash
cd /opt/gitee/niefy/wx-api
pwd
git reset --hard
git pull

mvn clean compile
#让内部项目找到
mvn install
mvn package

cp /opt/gitee/niefy/wx-api/target/wx-api.jar  /opt/gitee/niefy/wx-api/

chmod 777 /opt/gitee/niefy/wx-api/*.sh